<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>超链接标签</title>
</head>

<body>
    <h4>1.外部链接：</h4>
    <a href="http://www.qq.com" target="_self">腾讯</a>
    target打开窗口方式 默认的值是_self 当前窗口打开 _blank新窗口打开
    <h4>2.内部链接：</h4>
    <a href="demo.html" target="_self">测试</a>
    <h4>3.空链接：</h4>
    <a href="#" target="_self">测试</a>
    <h4>4.下载链接：</h4>
    <a href="img.zip" target="_self">下载文件</a>
    <h4>5.网页元素的链接：</h4>
    <a href="http://baidu.com" target="_self"><img src="img.jpg"></a>
</body>

</html>